package com.rainwen.zookeeper.client;

import com.alibaba.fastjson.JSON;

/**
 * Created by rain.wen on 2017/8/4.
 */
public class PrintUtils {

    public static void printJson(Object object) {
        System.out.println("==>" + JSON.toJSONString(object));
    }

    public static String getJson(Object object) {
        return JSON.toJSONString(object);
    }
}
